package com.fly.lambda.framework.web.listener;

import com.fly.lambda.service.ConfigService;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by Fly on 2016/7/27.
 */
public class ConfigListener implements InitializingBean {

    @Autowired
    ConfigService configService;

    public void afterPropertiesSet() throws Exception {
        configService.initConfig();
    }
}
